﻿using System;
using System.Collections;

namespace WeChat.AspNet.Events
{
    public class UserEventArgs :EventArgs
    {
        protected UserEventArgs(Hashtable values)
        {
            ToUserName = (string)values["ToUserName"];

            FromUserName = (string)values["FromUserName"];

            CreateTime = (string)values["CreateTime"];

        }

        /// <summary>
        /// 开发者微信号
        /// </summary>
        public string ToUserName { get; set; }
        /// <summary>
        /// 发送方帐号（一个OpenID） 
        /// </summary>
        public string FromUserName { get; set; }
        /// <summary>
        /// 消息创建时间（整型）
        /// </summary>
        public string CreateTime { get; set; }

    }
}
